package cn.oms.manage.service;

import cn.oms.commons.pojo.vo.PageData;
import cn.oms.manage.pojo.param.DepartmentAddNewParam;
import cn.oms.manage.pojo.param.DepartmentUpdateParam;
import cn.oms.manage.pojo.vo.DepartmentListVO;
import cn.oms.manage.pojo.vo.DepartmentStandardVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * 说明：
 *
 * @author: Fcx
 * @date: 2023/6/19
 **/
@Transactional
public interface IDepartmentService {
    void addNew(DepartmentAddNewParam departmentAddNewParam);

    void delete(Long id);

    void updateInfoById(Long id, DepartmentUpdateParam departmentUpdateInfoParam);

    DepartmentStandardVO getStandardById(Long id);

    PageData<DepartmentListVO> list(Integer pageNum);

    PageData<DepartmentListVO> list(Integer pageNum, Integer pageSize);

}
